Codelight\GDPR\Components\Consent\ConsentManager A

Total Complexity 57
Dependencies 1
Dependents 9
Total lines 431
Lines of code 224
Logical lines of code 91
Comment lines 131
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
registerCustomConsentTypes()
A
55 9 18
registerDefaultConsentTypes()
S
42 4 63
getConsentData()
S
56 5 19
getbySlugConsent()
S
61 5 13
withdrawConsent()
S
63 5 10
giveConsent()
S
63 4 10
getdata()
S
59 3 14
deleteConsent()
S
67 3 8
anonymizeConsent()
S
67 3 8
delete()
S
69 2 7
anonymize()
S
69 2 7
isRegisteredConsent()
S
79 1 3
saveCustomConsentTypes()
S
76 1 4
getAllConsents()
S
80 1 3
getAllConsentswithdetails()
S
80 1 3
gdpr_delete_log()
S
80 1 3
getuserlogsData()
S
75 1 4
register()
S
67 1 8
getCustomConsentTypes()
S
79 1 3
getAllDataSubjectsByConsent()
S
91 1 2
getDefaultConsentTypes()
S
79 1 3
getConsentTypes()
S
78 1 3
__construct()
S
65 1 8